QuantityVariableDimensions
QuantityVariableDimensions[quantityvariable] returns a list of base dimensions associated with the specified quantityvariable.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.